#include "core/auth/credential.h"

namespace aliyun {

Credential::Credential(const string& access_key_id, const string& access_secret)
  : access_key_id_(access_key_id), access_secret_(access_secret) {
}

const string& Credential::GetAccessKeyId(void) const {
  return access_key_id_;
}
void Credential::SetAccessKeyId(const string& access_key_id) {
  access_key_id_ = access_key_id;
}

const string& Credential::GetAccessSecret(void) const {
  return access_secret_;
}
void Credential::SetAccessSecret(const string& access_secret) {
  access_secret_ = access_secret;
}

} // namespace aliyun {

// end of file
